import _ from 'lodash';

function component() {
var element = document.createElement('div');
var button = document.createElement('button');
var br = document.createElement('br');

button.innerHTML = 'Click me and look at the console!';
element.innerHTML = _.join(['Hello', 'webpack'], ' ');
element.appendChild(br);
element.appendChild(button);

// Note that because a network request is involved, some indication
button.onclick = e => import(/* webpackChunkName: "print" */ './print').then(module => {
    var print = module.default;

    print();
});

return element;
}

document.body.appendChild(component());